package com.weixing.mall.provider.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.weixing.mall.provider.mapper.PaySetMapper;
import com.weixing.mall.provider.model.domain.PaySet;
import com.weixing.mall.provider.api.model.vo.PaySetVo;
import com.weixing.mall.provider.service.IPaySetService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 支付设置 服务实现类
 * </p>
 *
 * @author Small
 * @since 2020-01-08
 */
@Service
public class PaySetServiceImpl extends ServiceImpl<PaySetMapper, PaySet> implements IPaySetService {

    @Override
    public List<PaySetVo> selectByChannelId(Long channelId) {
        return baseMapper.selectByChannelId(channelId);
    }

    @Override
    public List<PaySetVo> selectEnableListByChannelId(Long channelId) {
        return baseMapper.selectEnableListByChannelId(channelId);
    }
}
